package com.cswnode.Service;

import com.cswnode.Dao.UserMapper;
import com.cswnode.Entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface UserService {

    User findUserById(int userId);

    int updateHeaderUrl(int userId,String HeaderUrl);

    Map<String,String> updatePassword(int userId, String oldPassword, String newPassword);

    User findUserByName(String username);

}
